package data.nanjing.expo.models.dao;

import data.nanjing.expo.models.domain.ActivityInfo;
import data.nanjing.expo.models.domain.ActivityTagInfo;
import data.nanjing.expo.models.domain.SysConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by zjp on 2018/6/24.
 * QQ：34948062
 * github: https://www.github.com/zjp1029
 * web： http://www.zjp1029.cn
 * 标签和活动关联表
 */
public interface ActivityTagInfoDao {

    public List<SysConfig> selectTagInfoByActivityId(@Param("activityId") Integer activityId);

    public List<ActivityTagInfo> selectHotTagInfoList();

    public Integer addActivityTagInfo(ActivityTagInfo activityTagInfo);

    //删除该活动的所有标签
    public void deleteActivityTagByActivityId(@Param("activityId") Integer activityId);

}
